﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="nkhachsan.aspx.vb" Inherits="kdadmin.nkhachsan" %>
<%@ Register TagPrefix="uc1" TagName="menu_nhap" Src="../common/menu_nhap.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.01 Transitional//EN">
<HTML>
	<HEAD>
		<title>ndaily</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="VBScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="100%" border="0">
				<TR>
					<TD colSpan="3"><uc1:menu_nhap id="Menu_nhap1" runat="server"></uc1:menu_nhap>
						<asp:TextBox id="TextBox1" runat="server"></asp:TextBox></TD>
				</TR>
				<TR>
					<TD vAlign="top" width="161"></TD>
					<TD vAlign="top"><asp:datagrid id="DataGrid1" runat="server" AllowPaging="True" CellPadding="4" BackColor="White"
							BorderWidth="1px" BorderStyle="None" BorderColor="#CC9966" OnCancelCommand="Datagrid_OnCancel" OnUpdateCommand="Datagrid_OnUpdate"
							OnPageIndexChanged="DataGrid1_PageIndexChanged" OnEditCommand="Datagrid_OnEdit" AutoGenerateColumns="False"
							PageSize="30">
							<SelectedItemStyle Font-Bold="True" ForeColor="#663399" BackColor="#FFCC66"></SelectedItemStyle>
							<ItemStyle ForeColor="#330099" BackColor="White"></ItemStyle>
							<HeaderStyle Font-Bold="True" ForeColor="#FFFFCC" BackColor="#990000"></HeaderStyle>
							<FooterStyle ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
							<Columns>
								<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update" HeaderText="C?p nh?t" CancelText="Cancel"
									EditText="Edit"></asp:EditCommandColumn>
								<asp:BoundColumn Visible="False" DataField="idkhachsan" ReadOnly="True" HeaderText="idkhachsan"></asp:BoundColumn>
								<asp:BoundColumn DataField="tenks" HeaderText="Khách sạn" HeaderStyle-Width="100px" ItemStyle-Width="100px">
<HeaderStyle Width="100px"></HeaderStyle>

<ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundColumn>
			<asp:BoundColumn DataField="diachi" HeaderText="Địa chỉ" HeaderStyle-Width="200px" ItemStyle-Width="200px">
<HeaderStyle Width="200px"></HeaderStyle>

<ItemStyle Width="200px"></ItemStyle>
                                </asp:BoundColumn>
			<asp:BoundColumn DataField="quan_huyen" HeaderText="Quận - Huyện" ItemStyle-HorizontalAlign="Center"
				HeaderStyle-Width="70px" ItemStyle-Width="70px">
<HeaderStyle Width="70px"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                </asp:BoundColumn>
			<asp:BoundColumn DataField="tinh_tp1" HeaderText="Tỉnh - TP" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="70px"
				HeaderStyle-Width="70px">
<HeaderStyle Width="70px"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                </asp:BoundColumn>
			<asp:BoundColumn DataField="dienthoai" HeaderText="Điện thoại" ItemStyle-Width="100px" HeaderStyle-Width="100px">
<HeaderStyle Width="100px"></HeaderStyle>

<ItemStyle Width="100px"></ItemStyle>
                                </asp:BoundColumn>	
			<asp:BoundColumn DataField="hangsao" HeaderText="Hạng sao" HeaderStyle-Width="60px" ItemStyle-Width="60px">
<HeaderStyle Width="60px"></HeaderStyle>

<ItemStyle Width="60px"></ItemStyle>
                                </asp:BoundColumn>
			<asp:BoundColumn DataField="resort" HeaderText="KS đạt chuẩn sao/ Resort"
				ItemStyle-HorizontalAlign="Center" ItemStyle-Width="80px" HeaderStyle-Width="80px">
<HeaderStyle Width="80px"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="80px"></ItemStyle>
                                </asp:BoundColumn>
			<asp:BoundColumn DataField="tinh_tp" HeaderText="Tỉnh - TP2" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="70px"
				HeaderStyle-Width="70px">
<HeaderStyle Width="70px"></HeaderStyle>

<ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                </asp:BoundColumn>
			
								<asp:BoundColumn DataField="web" HeaderText="Website"></asp:BoundColumn>
                                <asp:BoundColumn DataField="chuatrangbi" HeaderText="Chưa trang bị đủ 100%">
                                </asp:BoundColumn>
			
								<asp:TemplateColumn HeaderText="Delete">
									<ItemTemplate>
										<asp:Label ID="Delete" Text='<%# "<a href=""xkhachsan.aspx?id=" +  DataBinder.Eval(Container.DataItem, "idkhachsan").toString() + """><img src=""../../images/delete.gif"" border=0></a>" %>' Runat=server />
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC" Mode="NumericPages"></PagerStyle>
						</asp:datagrid></TD>
					<TD vAlign="top" width="181"></TD>
				</TR>
				<TR>
					<TD></TD>
					<TD></TD>
					<TD></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
